<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>
	<span th:text="${update}" style="display:inline;color:red;"></span>
	<form action="userupdate" th:object="${userBean}" method="post">
	id:<span th:text="${userBean.userId}">15</span><br></br>
	<input name="userId" type="hidden" th:value="${userBean.userId}" value="${userBean.userId}"/>
   用户名:<input name="username" type="text" th:value="${userBean.username}" value="${userBean.username}"/><br></br>
	密码:<input name="password" type="password" th:value="${userBean.password}" value="${userBean.password}"/><br></br>
确认密码:<input name="repassword" type="password" th:value="${userBean.repassword}" value="${userBean.repassword}"/><br></br>
		<button type="submit" name="update">update</button>
	</form>
</body>
</html>